package com.walnut.lom_system.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 部门信息
 * @author chenhetao
 * @TableName department_info
 */
@TableName(value ="department_info")
@Data
public class DepartmentInfo implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 
     */
    @TableField(value = "parent_id")
    private Long parentId;

    /**
     * 
     */
    @TableField(value = "department_name")
    private String departmentName;

    /**
     * 
     */
    @TableField(value = "description")
    private String description;

    /**
     * 
     */
    @TableField(value = "url")
    private String url;

    /**
     * 0:正常,-1删除
     */
    @TableField(value = "state",fill = FieldFill.INSERT)
    private Integer state;

    /**
     * 0:正常,-1删除
     */
    @TableField(value = "deleted",fill = FieldFill.INSERT)
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}